<SCRIPT LANGUAGE="JavaScript">
<!--
/**
*	
*/
function f_gridDblFunc(keyID) {
	var curKeyID = trselObj.f_get_select_key();
	curKeyID = curKeyID[0];
	if (curKeyID == "") return ;
	//alert("curKeyID = " + curKeyID);

	var cost_unit_id = "";//trselObj.f_getTDValueByKeyName(curKeyID ,"v_in_material_provider.cost_unit_id");
	var provid_id = trselObj.f_getTDValueByKeyName(curKeyID ,"v_finance_group_mat.provider_id");
	var mat_code = trselObj.f_getTDValueByKeyName(curKeyID ,"v_finance_group_mat.material_code");
	var con_code = trselObj.f_getTDValueByKeyName(curKeyID ,"v_finance_group_mat.contract_code");
	//var trObj = trselObj.f_getSelectTR();
	//cost_unit_id = trObj.cells(4).innerText;

	var where_sql = " v_in_mat_acc.provider_id=? and v_in_mat_acc.contract_code=? and v_in_mat_acc.material_code=? ";
	var where_type = "string;string;string";
	var where_value = provid_id + ";" + con_code + ";" + mat_code;

	var contextPath = "<%=CONTEXTPATH%>";
	var funcid = "GROUPAUDIT_PROV_MAT_D";

	var href = contextPath + "/wzmis/finance/frame_groupaudit_prov_mat_d.jsp?funid=" + funcid + "&pageType=subgrid";
	href += "&where_sql=" + where_sql;
	href += "&where_value=" + where_value;
	href += "&where_type=" + where_type;
	href += "&orgwhere_sql=" + where_sql;
	href += "&orgwhere_type=" + where_type;
	href += "&orgwhere_value=" + where_value;
	//alert("href = " + href);

	parent.frames("frmformdata").document.location = href
}
//-->
</SCRIPT>